/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;
import modelo.SensorRegistroSustrato;
import dao.generic.GenericDAO;
/**
 *
 * @author Administrador
 */
public class SensorSustratoDAO extends GenericDAO{
    public SensorRegistroSustrato getHistorialSustratoById(int idHistorialSustrato){
        SensorRegistroSustrato hs = null;
        try{
            iniciarOperacion();
            hs = (SensorRegistroSustrato) sesion.get(SensorRegistroSustrato.class, idHistorialSustrato);
        }finally{
            sesion.close();
        }
        return hs;
    }
 
}
